package com.zhuoshi.serviceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.IDao.Opening_payModelMapper;
import com.zhuoshi.bean.Opening_payModel;
import com.zhuoshi.service.Opening_payModelService;

@Service
public class Opening_payModelServiceImpl implements Opening_payModelService {
	@Autowired
	Opening_payModelMapper opening_payModelMapper ;
	public void setOpening_payModelMapper(
			Opening_payModelMapper opening_payModelMapper) {
		this.opening_payModelMapper = opening_payModelMapper;
	}
	public int deleteByPrimaryKey(String openingPayId) {
		// TODO Auto-generated method stub
		return opening_payModelMapper.deleteByPrimaryKey(openingPayId);
	}

	public int insert(Opening_payModel record) {
		// TODO Auto-generated method stub
		return opening_payModelMapper.insert(record);
	}

	public int insertSelective(Opening_payModel record) {
		// TODO Auto-generated method stub
		return opening_payModelMapper.insertSelective(record);
	}

	public Opening_payModel selectByPrimaryKey(String openingPayId) {
		// TODO Auto-generated method stub
		return opening_payModelMapper.selectByPrimaryKey(openingPayId);
	}

	public int updateByPrimaryKeySelective(Opening_payModel record) {
		// TODO Auto-generated method stub
		return opening_payModelMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(Opening_payModel record) {
		// TODO Auto-generated method stub
		return opening_payModelMapper.updateByPrimaryKey(record);
	}

}
